// 主页分类
export const getMainList = () => "https://apis.netstart.cn/mogujie/category.json";
// 获取商品数据
export const getProducts = (id, page) => `https://apis.netstart.cn/mogujie/category/miniWall?fcid=${id}&page=${page}&sort=sell`;
// 热门搜索
export const getHotSearch = () => "https://apis.netstart.cn/mogujie/hotSearch.json";
// 搜索结果
export const getSearchResult = (word, page, sort) => `https://apis.netstart.cn/mogujie/search/searchByKeyword?q=${word}&page=${page}&sort=${sort}`;
// 商品详细
export const getProductDetails = (id) => `https://apis.netstart.cn/mogujie/goods/detail?itemId=${id}`;
